package com.zhang.yygh.order.client;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient(value = "service-orders")
@Repository
public interface OrderInfoFeignClient {

    //统计预约信息
    @PostMapping("/api/order/orderInfo/countOrderInfo")
    public Map<String,Object> countOrderInfo(@RequestBody OrderCountQueryVo orderQueryVo);
}
